package com.chapter_4;

import java.util.concurrent.TimeoutException;

/**
 * @Author: Timo
 * @Date: 2019/5/15 14:17
 * @Description: 类用途：
 */
public class MainHost {

    public static void main(String[] args){
        Host host = new Host(10_000);

        try {
            System.out.println ("==== execute BEGIN =====") ;
            host.execute();
        } catch (TimeoutException e) {
            e.printStackTrace();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
